/**
 * Copyright 2008-2009 HAN.BIFANG
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 *
 */
package han.bashe.common.exception;

/**
 * @Author Kent
 */
public class BasheErrorCode {
	
	
	//client side error
	public static final String SERVICE_REQUEST_CONTENT_TYPE_ERROR = "2901";
	
	public static final String SOAP_MESSAGE_FORMAT_ERROR = "2902";

	public static final String JMS_MESSAGE_TYPE_ERROR = "2903";
	
	public static final String REQUESTED_SERVICE_NOT_EXIST_ERROR = "2904";
	
	public static final String REQUESTED_SERVICE_NOT_PUBLISHED_ERROR = "2905";
	
	public static final String REQUESTED_VERSION_NOT_PUBLISHED_ERROR = "2906";
	
	public static final String PARSE_CLIENT_XML_ERROR = "2907";
	
	
	public static final String SECURITY_ERROR = "2908";
	
	public static final String CONVERSATION_NOT_EXISTS_ERROR = "2909"; 
	
	public static final String MISS_HEADER_ERROR = "2910"; 
	
	public static final String SERVICE_VERSION_ERROR = "2911"; 
	
	public static final String SERVICE_METHOD_ERROR = "2912"; 
	
	
	public static final String test = null;
	
	
	//server side error
	public static final String DB_ERROR = "2001";
	
	public static final String PARSE_CONFIG_XML_ERROR = "2002";
	
	public static final String ACCESS_BIFANG_ERROR = "2003";
	
	public static final String PARSE_RESPONSE_XML_ERROR = "2004";
	
	public static final String GET_JMS_FACTORY_ERROR = "2005";
	
	public static final String GET_INITIAL_CONTEXT_ERROR = "2006";
	
	public static final String SEND_JMS_ERROR = "2007";
	
	public static final String CALL_HTTP_ERROR = "2008";
	
	public static final String CALL_SOAP_ERROR = "2009";
	
	public static final String CALL_WEB_SERVICES_ERROR = "2010";
	
	public static final String SERVICE_RESPONSE_XML_FORMAT_ERROR = "2011";
	
	public static final String SERVICE_RETURN_SOAP_FAULT_ERROR = "2012";
	
	public static final String PARSE_REQ_XML_ERROR = "2013";
	
	public static final String CONVERSATION_STATUS_ERROR = "2014";
	
	public static final String UNKNOWN_ERROR = "-9999";

}
